package com.spvs.job.mapper;

import com.spvs.job.domain.EquipPointRecordDetail;

import java.util.List;

/**
 * 点检计划详情Mapper接口
 *
 * @author supervision
 * @date 2024-06-10
 */
public interface EquipPointRecordDetailMapper
{
    /**
     * 查询点检计划详情
     *
     * @param id 点检计划详情主键
     * @return 点检计划详情
     */
    public EquipPointRecordDetail selectEquipPointRecordDetailById(Long id);

    /**
     * 查询点检计划详情列表
     *
     * @param equipPointRecordDetail 点检计划详情
     * @return 点检计划详情集合
     */
    public List<EquipPointRecordDetail> selectEquipPointRecordDetailList(EquipPointRecordDetail equipPointRecordDetail);

    /**
     * 新增点检计划详情
     *
     * @param equipPointRecordDetail 点检计划详情
     * @return 结果
     */
    public int insertEquipPointRecordDetail(EquipPointRecordDetail equipPointRecordDetail);

    /**
     * 修改点检计划详情
     *
     * @param equipPointRecordDetail 点检计划详情
     * @return 结果
     */
    public int updateEquipPointRecordDetail(EquipPointRecordDetail equipPointRecordDetail);

    /**
     * 删除点检计划详情
     *
     * @param id 点检计划详情主键
     * @return 结果
     */
    public int deleteEquipPointRecordDetailById(Long id);

    /**
     * 批量删除点检计划详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipPointRecordDetailByIds(Long[] ids);

    List<EquipPointRecordDetail> selectEquipPointRecordDetailByPlanId(Long planRecordId);
}
